home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / src / RCS / def.h,v < prev    next >
Encoding:
Text File  |  1991-06-25  |  16.1 KB  |  863 lines

  1. head    1.11;
  2. branch    1;
  3. access;
  4. symbols
  5.     RELEASE:1.11
  6.     BETA:1.9
  7.     UICSO:1;
  8. locks; strict;
  9. comment    @ * @;
  10.  
  11.  
  12. 1.11
  13. date    91.06.21.12.44.33;    author paul;    state Exp;
  14. branches;
  15. next    1.10;
  16.  
  17. 1.10
  18. date    91.06.05.17.16.21;    author paul;    state Exp;
  19. branches;
  20. next    1.9;
  21.  
  22. 1.9
  23. date    91.05.29.19.37.17;    author paul;    state Exp;
  24. branches;
  25. next    1.8;
  26.  
  27. 1.8
  28. date    91.05.22.02.30.43;    author paul;    state Exp;
  29. branches;
  30. next    1.7;
  31.  
  32. 1.7
  33. date    91.05.18.03.19.40;    author paul;    state Exp;
  34. branches;
  35. next    1.6;
  36.  
  37. 1.6
  38. date    91.04.05.14.55.15;    author paul;    state Exp;
  39. branches;
  40. next    1.5;
  41.  
  42. 1.5
  43. date    91.04.05.06.33.33;    author paul;    state Exp;
  44. branches;
  45. next    1.4;
  46.  
  47. 1.4
  48. date    91.04.02.23.21.03;    author paul;    state Exp;
  49. branches;
  50. next    1.3;
  51.  
  52. 1.3
  53. date    91.03.24.23.11.48;    author paul;    state Exp;
  54. branches;
  55. next    1.2;
  56.  
  57. 1.2
  58. date    91.03.18.00.41.45;    author paul;    state Exp;
  59. branches;
  60. next    1.1;
  61.  
  62. 1.1
  63. date    91.03.06.16.11.01;    author paul;    state Exp;
  64. branches;
  65. next    ;
  66.  
  67.  
  68. desc
  69. @Function return values with prototypes #ifdef __STDC__.
  70. @
  71.  
  72.  
  73. 1.11
  74. log
  75. @Uses TIME_TYPE instead of time_t.
  76. @
  77. text
  78. @/*
  79.  * Copyright (c) 1991 Regents of the University of California and
  80.  * the University of Illinois Board of Trustees.
  81.  * All rights reserved.
  82.  *
  83.  * Redistribution and use in source and binary forms are permitted provided
  84.  * that: (1) source distributions retain this entire copyright notice and
  85.  * comment, and (2) distributions including binaries display the following
  86.  * acknowledgement:  ``This product includes software developed by the
  87.  * University of California, Berkeley and its contributors'' in the
  88.  * documentation or other materials provided with the distribution and in
  89.  * all advertising materials mentioning features or use of this software.
  90.  * Neither the name of the University nor the names of its contributors may
  91.  * be used to endorse or promote products derived from this software without
  92.  * specific prior written permission.
  93.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  94.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  95.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  96.  *
  97.  * Contributed by Paul Pomes, University of Illinois Computing Services Office.
  98.  *
  99.  *    @@(#)def.h    1.1    2/17/91
  100.  */
  101.  
  102. /*
  103.  * ANSI C function declarators
  104.  */
  105.  
  106. #ifndef lint
  107. # ifdef _DEFINE
  108. static char def_h_sccsid[] = "@@(#)def.h    1.1 (Berkeley) 2/17/91";
  109. static char  def_h_rcsid[] = "@@(#)$Id: def.h,v 1.10 1991/06/05 17:16:21 paul Exp paul $";
  110. # endif /* _DEFINE */
  111. #endif /* !lint */
  112.  
  113. #ifdef __STDC__
  114.  
  115. /* List of machine types that don't do type promotion in prototypes */
  116. # if defined(apollo)
  117. #  define    CC_WONT_PROMOTE
  118. # endif /* apollo */
  119.  
  120. /* alias.c */
  121. void alias(ADDRESS *, ADDRESS **);
  122. char * aliaslookup(char *);
  123. void initaliases(bool);
  124. void forward(ADDRESS *, ADDRESS **);
  125.  
  126. /* arpadate.c */
  127. char * arpadate(char *);
  128. char * arpatounix(char *, ENVELOPE *);
  129.  
  130. /* clock.c */
  131. EVENT * setevent(TIME_TYPE, void (*f)(), int);
  132. void clrevent(EVENT *);
  133. void Xsleep(unsigned int);
  134.  
  135. /* collect.c */
  136. void collect(bool);
  137.  
  138. /* conf.c */
  139. void setdefaults();
  140. void setdefuser();
  141. int getruid();
  142. int getrgid();
  143. char * username();
  144. char * ttypath();
  145. bool checkcompat(ADDRESS *);
  146. void holdsigs();
  147. void rlsesigs();
  148. int getla();
  149. bool shouldqueue(long);
  150. void setproctitle(const char *, ...);
  151. SIG_TYPE reapchild();
  152.  
  153. /* convtime.c */
  154. TIME_TYPE convtime(const char *);
  155. char * pintvl(TIME_TYPE, bool);
  156.  
  157. /* daemon.c */
  158. void getrequests();
  159. void clrdaemon();
  160. # ifdef CC_WONT_PROMOTE
  161. int makeconnection(const char *, u_short, FILE **, FILE **);
  162. # else /* !CC_WONT_PROMOTE */
  163. int makeconnection(const char *, int, FILE **, FILE **); /* u_short -> int */
  164. # endif /* CC_WONT_PROMOTE */
  165. char ** myhostname(char [], int);
  166. bool maphostname(char *, bool);
  167. # ifdef CC_WONT_PROMOTE
  168. bool mapinit(char);
  169. char * mapkey(char, char *, int, const char *);
  170. # else /* !CC_WONT_PROMOTE */
  171. bool mapinit(int);                /* char -> int */
  172. char * mapkey(int, char *, int, const char *);    /* char -> int */
  173. # endif /* CC_WONT_PROMOTE */
  174.  
  175. /* deliver.c */
  176. int deliver(ENVELOPE *, ADDRESS *);
  177. int dofork();
  178. int endmailer(int, const char *);
  179. int openmailer(MAILER *, char **, ADDRESS *, bool, FILE **, FILE **);
  180. void giveresponse(int, MAILER *, ENVELOPE *);
  181. void logdelivery(MAILER *, const char *);
  182. void putfromline(FILE *, MAILER *);
  183. void putbody(FILE *, MAILER *, ENVELOPE *);
  184. # ifdef CC_WONT_PROMOTE
  185. void sendall(ENVELOPE *, char);
  186. # else /* !CC_WONT_PROMOTE */
  187. void sendall(ENVELOPE *, int);            /* char -> int */
  188. # endif /* CC_WONT_PROMOTE */
  189.  
  190. /* domain.c */
  191. int getmxrr(const char *, char **, int *);
  192. bool getcanonname(char *, int);
  193.  
  194. /* envelope.c */
  195. ENVELOPE * newenvelope(ENVELOPE *);
  196. void dropenvelope(ENVELOPE *);
  197. void clearenvelope(ENVELOPE *, bool);
  198. void initsys();
  199. void settime();
  200. void openxscript(ENVELOPE *);
  201. void setsender(char *);
  202.  
  203. /* err.c */
  204. void syserr(const char *, ...);
  205. void usrerr(const char *, ...);
  206. void message(const char *, const char *, ...);
  207. void nmessage(const char *, const char *, ...);
  208. char * errstring(int);
  209.  
  210. /* getloadavg.c */
  211. int getloadavg(caddr_t);
  212.  
  213. /* headers.c */
  214. int chompheader(char *, bool);
  215. void addheader(char *, const char *, ENVELOPE *);
  216. char * hvalue(const char *);
  217. HDR * findheader(const char *, ENVELOPE *);
  218. bool isheader(const char *);
  219. void eatheader(ENVELOPE *, FILE *);
  220. char * crackaddr(char *);
  221. void putheader(FILE *, MAILER *, ENVELOPE *);
  222. void commaize(HDR *, char *, FILE *, bool, MAILER *);
  223.  
  224. /* macro.c */
  225. void expand(const char *, char *, const char *, ENVELOPE *);
  226. # ifdef CC_WONT_PROMOTE
  227. void define(char, char *, ENVELOPE *);
  228. char * macvalue(char, ENVELOPE *);
  229. # else /* !CC_WONT_PROMOTE */
  230. void define(int, char *, ENVELOPE *);        /* char -> int */
  231. char * macvalue(int, ENVELOPE *);        /* char -> int */
  232. # endif /* CC_WONT_PROMOTE */
  233.  
  234. /* main.c */
  235. void finis();
  236. void disconnect(bool);
  237.  
  238. /* parseaddr.c */
  239. # ifdef CC_WONT_PROMOTE
  240. ADDRESS * parseaddr(const char *, ADDRESS *, int, char);
  241. char ** prescan(char *, char, char []);
  242. # else /* !CC_WONT_PROMOTE */
  243. ADDRESS * parseaddr(char *, ADDRESS *, int, int);    /* char -> int */
  244. char ** prescan(char *, int, char []);        /* char -> int */
  245. # endif /* CC_WONT_PROMOTE */
  246. void loweraddr(ADDRESS *);
  247. bool invalidaddr(const char *);
  248. void rewrite(char **, int);
  249. void cataddr(char **, char *, int);
  250. bool sameaddr(ADDRESS *, ADDRESS *);
  251. void printaddr(ADDRESS *, bool);
  252. char * remotename(char *, MAILER *, bool, bool, bool);
  253.  
  254. /* queue.c */
  255. FILE * queueup(ENVELOPE *, bool, bool);
  256. void runqueue(int);
  257. void printqueue();
  258. # ifdef CC_WONT_PROMOTE
  259. char * queuename(ENVELOPE *, char);
  260. # else /* !CC_WONT_PROMOTE */
  261. char * queuename(ENVELOPE *, int);        /* char -> int */
  262. # endif /* CC_WONT_PROMOTE */
  263. void unlockqueue(ENVELOPE *);
  264. void setctladdr(ADDRESS *);
  265.  
  266. /* readcf.c */
  267. void readcf(char *);
  268. void printrules();
  269. # ifdef CC_WONT_PROMOTE
  270. void setoption(char, const char *, bool, bool);
  271. # else /* !CC_WONT_PROMOTE */
  272. void setoption(int, const char *, bool, bool);    /* char -> int */
  273. # endif /* CC_WONT_PROMOTE */
  274. void setclass(int, const char *);
  275.  
  276. /* recipient.c */
  277. void sendtolist(const char *, ADDRESS *, ADDRESS **);
  278. ADDRESS * recipient(ADDRESS *, ADDRESS **);
  279. void include(const char *, const char *, ADDRESS *, ADDRESS **);
  280. void sendtoargv(char **);
  281. ADDRESS * getctladdr(ADDRESS *);
  282.  
  283. /* savemail.c */
  284. void savemail(ENVELOPE *);
  285. int returntosender(const char *, ADDRESS *, bool);
  286.  
  287. /* srvrsmtp.c */
  288. void smtp(bool);
  289.  
  290. /* stab.c */
  291. STAB * stab(const char *, int, int);
  292.  
  293. /* stats.c */
  294. void markstats(ENVELOPE *, ADDRESS *);
  295. void poststats(char *);
  296.  
  297. /* sysexits.c */
  298. char * statstring(int);
  299.  
  300. /* trace.c */
  301. void tTsetup(u_char *, int, const char *);
  302. void tTflag(const char *);
  303.  
  304. /* usersmtp.c */
  305. # ifdef MAIL11V3
  306. int smtpinit(MAILER *, char **, ENVELOPE *);
  307. # else /* ! MAIL11V3 */
  308. int smtpinit(MAILER *, char **);
  309. # endif /* MAIL11V3 */
  310. int smtprcpt(ADDRESS *, MAILER *);
  311. int smtpdata(MAILER *, ENVELOPE *);
  312. void smtpquit(MAILER *);
  313. int smtpstat(MAILER *);
  314.  
  315. /* util.c */
  316. void stripquotes(char *, bool);
  317. int qstrlen(const char *);
  318. char * capitalize(const char *);
  319. void * xalloc(int);
  320. char ** copyplist(char **, bool);
  321. void printav(char **);
  322. # ifdef CC_WONT_PROMOTE
  323. char lower(char);
  324. # else /* !CC_WONT_PROMOTE */
  325. char lower(int);                /* char -> int */
  326. # endif /* CC_WONT_PROMOTE */
  327. void xputs(const char *);
  328. void makelower(char *);
  329. void buildfname(const char *, const char *, char *);
  330. bool safefile(char *, int, int);
  331. void fixcrlf(char *, bool);
  332. FILE * dfopen(const char *, const char *);
  333. void putline(char *, FILE *, MAILER *);
  334. void xunlink(char *);
  335. char * sfgets(char *, int, FILE *);
  336. char * fgetfolded(char *, int, FILE *);
  337. TIME_TYPE curtime();
  338. bool atobool(const char *);
  339. int atooct(const char *);
  340. int waitfor(int);
  341. bool bitintersect(BITMAP, BITMAP);
  342. bool bitzerop(BITMAP);
  343. void printcav(char **);
  344. void WritePid();
  345.  
  346. /* strcnv.c */
  347. # ifdef BIT8
  348. CHAR8U * strcnv(CHARSET *, CHARSET *, CHAR8U *, CHAR8U *);
  349. CHAR8U * strncnv(CHARSET *, CHARSET *, CHAR8U *, CHAR8U *, int);
  350. #  ifdef CC_WONT_PROMOTE
  351. CHARSET * getchset(char *, INT16S);
  352. #  else /* !CC_WONT_PROMOTE */
  353. CHARSET * getchset(char *, int);
  354. #  endif /* CC_WONT_PROMOTE */
  355. # endif /* BIT8 */
  356.  
  357. /* version.c */
  358.  
  359. /* random ones */
  360.  
  361. char * getenv(const char *);
  362. FILE * fdopen(int, const char *);
  363. FILE * popen(const char *, const char *);
  364. TIME_TYPE time(TIME_TYPE *);
  365.  
  366. #else /* !__STDC__ */
  367.  
  368. /* This keeps non-ANSI compilers happy */
  369. # define    const
  370.  
  371. /* alias.c */
  372. void alias();
  373. char * aliaslookup();
  374. void initaliases();
  375. void forward();
  376.  
  377. /* arpadate.c */
  378. char * arpadate();
  379. char * arpatounix();
  380.  
  381. /* clock.c */
  382. EVENT * setevent();
  383. void clrevent();
  384. void Xsleep();
  385.  
  386. /* collect.c */
  387. void collect();
  388.  
  389. /* conf.c */
  390. void setdefaults();
  391. void setdefuser();
  392. int getruid();
  393. int getrgid();
  394. char * username();
  395. char * ttypath();
  396. bool checkcompat();
  397. void holdsigs();
  398. void rlsesigs();
  399. int getla();
  400. bool shouldqueue();
  401. void setproctitle();
  402. SIG_TYPE reapchild();
  403.  
  404. /* convtime.c */
  405. TIME_TYPE convtime();
  406. char * pintvl();
  407.  
  408. /* daemon.c */
  409. void getrequests();
  410. void clrdaemon();
  411. int makeconnection();
  412. char ** myhostname();
  413. bool maphostname();
  414. bool mapinit();
  415. char * mapkey();
  416.  
  417. /* deliver.c */
  418. int deliver();
  419. int dofork();
  420. int endmailer();
  421. int openmailer();
  422. void giveresponse();
  423. void logdelivery();
  424. void putfromline();
  425. void putbody();
  426. void sendall();
  427.  
  428. /* domain.c */
  429. int getmxrr();
  430. bool getcanonname();
  431.  
  432. /* envelope.c */
  433. ENVELOPE * newenvelope();
  434. void dropenvelope();
  435. void clearenvelope();
  436. void initsys();
  437. void settime();
  438. void openxscript();
  439. void setsender();
  440.  
  441. /* err.c */
  442. void syserr();
  443. void usrerr();
  444. void message();
  445. void nmessage();
  446. char * errstring();
  447.  
  448. /* getloadavg.c */
  449. int getloadavg();
  450.  
  451. /* headers.c */
  452. int chompheader();
  453. void addheader();
  454. char * hvalue();
  455. HDR * findheader();
  456. bool isheader();
  457. void eatheader();
  458. char * crackaddr();
  459. void putheader();
  460. void commaize();
  461.  
  462. /* macro.c */
  463. void expand();
  464. void define();
  465. char * macvalue();
  466.  
  467. /* main.c */
  468. void finis();
  469. void disconnect();
  470.  
  471. /* parseaddr.c */
  472. ADDRESS * parseaddr();
  473. void loweraddr();
  474. bool invalidaddr();
  475. char ** prescan();
  476. void rewrite();
  477. void cataddr();
  478. bool sameaddr();
  479. void printaddr();
  480. char * remotename();
  481.  
  482. /* queue.c */
  483. FILE * queueup();
  484. void runqueue();
  485. void printqueue();
  486. char * queuename();
  487. void unlockqueue();
  488. void setctladdr();
  489.  
  490. /* readcf.c */
  491. void readcf();
  492. void printrules();
  493. void setoption();
  494. void setclass();
  495.  
  496. /* recipient.c */
  497. void sendtolist();
  498. ADDRESS * recipient();
  499. void include();
  500. void sendtoargv();
  501. ADDRESS * getctladdr();
  502.  
  503. /* savemail.c */
  504. void savemail();
  505. int returntosender();
  506.  
  507. /* srvrsmtp.c */
  508. void smtp();
  509.  
  510. /* stab.c */
  511. STAB * stab();
  512.  
  513. /* stats.c */
  514. void markstats();
  515. void poststats();
  516.  
  517. /* sysexits.c */
  518. char * statstring();
  519.  
  520. /* trace.c */
  521. void tTsetup();
  522. void tTflag();
  523.  
  524. /* usersmtp.c */
  525. # ifdef MAIL11V3
  526. int smtpinit();
  527. # else /* ! MAIL11V3 */
  528. int smtpinit();
  529. # endif /* MAIL11V3 */
  530. int smtprcpt();
  531. int smtpdata();
  532. void smtpquit();
  533. int smtpstat();
  534.  
  535. /* util.c */
  536. void stripquotes();
  537. int qstrlen();
  538. char * capitalize();
  539. char * xalloc();
  540. char ** copyplist();
  541. void printav();
  542. char lower();
  543. void xputs();
  544. void makelower();
  545. void buildfname();
  546. bool safefile();
  547. void fixcrlf();
  548. FILE * dfopen();
  549. void putline();
  550. void xunlink();
  551. char * sfgets();
  552. char * fgetfolded();
  553. TIME_TYPE curtime();
  554. bool atobool();
  555. int atooct();
  556. int waitfor();
  557. bool bitintersect();
  558. bool bitzerop();
  559. void printcav();
  560. void WritePid();
  561.  
  562. /* strcnv.c */
  563. # ifdef BIT8
  564. CHAR8U * strcnv();
  565. CHAR8U * strncnv();
  566. CHARSET * getchset();
  567. # endif /* BIT8 */
  568.  
  569. /* version.c */
  570.  
  571. /* random ones */
  572. char * getenv();
  573. FILE * fdopen();
  574. FILE * popen();
  575. TIME_TYPE time();
  576.  
  577. #endif /* __STDC__ */
  578. @
  579.  
  580.  
  581. 1.10
  582. log
  583. @Changed an occurence of ';;' to ';'
  584. @
  585. text
  586. @d31 2
  587. a32 2
  588. static char def_h_sccsid[] = "@@(#)def.h    1.1 (Berkeley) 2/17/91    %I% local";
  589. static char  def_h_rcsid[] = "@@(#)$Id: def.h,v 1.9 1991/05/29 19:37:17 paul Exp paul $";
  590. d54 1
  591. a54 1
  592. EVENT * setevent(time_t, void (*f)(), int);
  593. d77 2
  594. a78 2
  595. time_t convtime(const char *);
  596. char * pintvl(time_t, bool);
  597. d260 1
  598. a260 1
  599. time_t curtime();
  600. d328 1
  601. a328 1
  602. time_t convtime();
  603. d476 1
  604. a476 1
  605. time_t curtime();
  606. @
  607.  
  608.  
  609. 1.9
  610. log
  611. @arpatounix definition added.
  612. @
  613. text
  614. @d32 1
  615. a32 1
  616. static char  def_h_rcsid[] = "@@(#)$Id: def.h,v 1.8 1991/05/22 02:30:43 paul Exp paul $";
  617. d99 1
  618. a99 1
  619. int deliver(ENVELOPE *, ADDRESS *);;
  620. d341 1
  621. a341 1
  622. int deliver();;
  623. @
  624.  
  625.  
  626. 1.8
  627. log
  628. @Eliminated non-#define VSPRINT as a portable vsprintf() is now included
  629. in vprintf.c.
  630. @
  631. text
  632. @d32 1
  633. a32 1
  634. static char  def_h_rcsid[] = "@@(#)$Id: def.h,v 1.7 1991/05/18 03:19:40 paul Exp paul $";
  635. d51 1
  636. d302 1
  637. @
  638.  
  639.  
  640. 1.7
  641. log
  642. @malloc() under __STDC__ returns void *.  Added platform parameter
  643. TIME_TYPE for return/argument type of time().
  644. @
  645. text
  646. @d32 1
  647. a32 1
  648. static char  def_h_rcsid[] = "@@(#)$Id$";
  649. a71 1
  650. # ifdef VSPRINTF
  651. a72 3
  652. # else /* !VSPRINTF */
  653. void setproctitle();
  654. # endif /* VSPRINTF */
  655. a125 1
  656. # ifdef VSPRINTF
  657. a129 6
  658. # else /* !VSPRINTF */
  659. void syserr();
  660. void usrerr();
  661. void message();
  662. void nmessage();
  663. # endif /* VSPRINTF */
  664. @
  665.  
  666.  
  667. 1.6
  668. log
  669. @Added RCS ID string
  670. @
  671. text
  672. @d22 1
  673. a22 2
  674.  *    @@(#)def.h    1.1 (Berkeley) 2/17/91
  675.  *    @@(#)$Id$
  676. d31 2
  677. a32 1
  678. static char def_h_sccsid[] = "@@(#)$Version$";
  679. d252 1
  680. a252 1
  681. char * xalloc(int);
  682. d280 1
  683. d283 1
  684. a283 1
  685. # ifdef CC_WONT_PROMOTE
  686. d285 1
  687. a285 1
  688. # else /* !CC_WONT_PROMOTE */
  689. d287 2
  690. a288 1
  691. # endif /* CC_WONT_PROMOTE */
  692. a294 1
  693. void * malloc(size_t);
  694. d297 1
  695. d495 1
  696. d499 1
  697. a504 1
  698. char * malloc();
  699. d507 1
  700. @
  701.  
  702.  
  703. 1.5
  704. log
  705. @Character set translation changes adapted from patches from Keld Simonsen
  706. (keld@@dkuug.dk).
  707. @
  708. text
  709. @d23 1
  710. @
  711.  
  712.  
  713. 1.4
  714. log
  715. @Now use stdarg instead of varargs when __STDC__ && VSPRINTF are true.
  716. Add extra declarations for system calls frequently missing in the
  717. /usr/include files.
  718. @
  719. text
  720. @d149 1
  721. d278 9
  722. d384 1
  723. d490 5
  724. @
  725.  
  726.  
  727. 1.3
  728. log
  729. @Changed argument list to getmxrr().
  730. @
  731. text
  732. @d72 1
  733. a72 2
  734. /* void setproctitle(const char *, va_alist);    fails with gcc */
  735. void setproctitle();
  736. d76 1
  737. a76 1
  738. void reapchild();
  739. d130 4
  740. a133 4
  741. void syserr();
  742. void usrerr();
  743. void message();
  744. void nmessage();
  745. a134 8
  746. /*
  747.  * The following don't work as gcc transforms va_alist for some reason.
  748.  *
  749.  * void syserr(const char *, va_alist);
  750.  * void usrerr(const char *, va_alist);
  751.  * void message(const char *, const char *, va_alist);
  752.  * void nmessage(const char *, const char *, va_alist);
  753.  */
  754. d279 7
  755. a319 1
  756. # ifdef VSPRINTF
  757. d321 1
  758. a321 4
  759. # else /* !VSPRINTF */
  760. void setproctitle();
  761. # endif /* VSPRINTF */
  762. void reapchild();
  763. d483 4
  764. a486 2
  765. char *getenv();
  766. char *malloc();
  767. @
  768.  
  769.  
  770. 1.2
  771. log
  772. @Record mailer used in logdelivery() routine.  From Stephen Cliffe
  773. <steve@@cs.uow.edu.au>
  774. @
  775. text
  776. @d86 1
  777. a86 1
  778. # ifdef    CC_WONT_PROMOTE
  779. d88 1
  780. a88 1
  781. # else    /* !CC_WONT_PROMOTE */
  782. d90 1
  783. a90 1
  784. # endif    /* CC_WONT_PROMOTE */
  785. d93 1
  786. a93 1
  787. # ifdef    CC_WONT_PROMOTE
  788. d96 1
  789. a96 1
  790. # else    /* !CC_WONT_PROMOTE */
  791. d99 1
  792. a99 1
  793. # endif    /* CC_WONT_PROMOTE */
  794. d110 1
  795. a110 1
  796. # ifdef    CC_WONT_PROMOTE
  797. d112 1
  798. a112 1
  799. # else    /* !CC_WONT_PROMOTE */
  800. d114 1
  801. a114 1
  802. # endif    /* CC_WONT_PROMOTE */
  803. d117 1
  804. a117 1
  805. int getmxrr(const char *, char **, const char *, int *);
  806. d166 1
  807. a166 1
  808. # ifdef    CC_WONT_PROMOTE
  809. d169 1
  810. a169 1
  811. # else    /* !CC_WONT_PROMOTE */
  812. d172 1
  813. a172 1
  814. # endif    /* CC_WONT_PROMOTE */
  815. d179 1
  816. a179 1
  817. # ifdef    CC_WONT_PROMOTE
  818. d182 1
  819. a182 1
  820. # else    /* !CC_WONT_PROMOTE */
  821. d185 1
  822. a185 1
  823. # endif    /* CC_WONT_PROMOTE */
  824. d198 1
  825. a198 1
  826. # ifdef    CC_WONT_PROMOTE
  827. d200 1
  828. a200 1
  829. # else    /* !CC_WONT_PROMOTE */
  830. d202 1
  831. a202 1
  832. # endif    /* CC_WONT_PROMOTE */
  833. d209 1
  834. a209 1
  835. # ifdef    CC_WONT_PROMOTE
  836. d211 1
  837. a211 1
  838. # else    /* !CC_WONT_PROMOTE */
  839. d213 1
  840. a213 1
  841. # endif    /* CC_WONT_PROMOTE */
  842. d262 1
  843. a262 1
  844. # ifdef    CC_WONT_PROMOTE
  845. d264 1
  846. a264 1
  847. # else    /* !CC_WONT_PROMOTE */
  848. d266 1
  849. a266 1
  850. # endif    /* CC_WONT_PROMOTE */
  851. @
  852.  
  853.  
  854. 1.1
  855. log
  856. @Initial revision
  857. @
  858. text
  859. @d107 1
  860. a107 1
  861. void logdelivery(const char *);
  862. @
  863.